//+--------------------------------------------------------------------
//| Copyright(c) 2012 - an.vuongngocduy					
//| This file is a part of Compact Game Engine (CGE)	
//+--------------------------------------------------------------------
#ifndef __CGE_FRAMEWORK_H__
#define __CGE_FRAMEWORK_H__

#include "cgeCommons.h"
#include "cgeCanvas.h"

namespace cge
{
	class Framework
	{
	public:
		//! Default constructor
		Framework();

		//! Set up the engine based on provided information
		void Setup();

		//! Start engine
		void Start();

	public:
#ifdef WIN32
		//! Handle message from MS-Windows OS
		static LRESULT CALLBACK WinProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
#endif

	protected:
		Canvas* mCanvas;
	};
}

#endif//__CGE_FRAMEWORK_H__